home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Forever 2
/
Atari Forever 2.zip
/
Atari Forever 2.iso
/
serie_v
/
v_329
/
ctdlcnfg.sys
< prev
next >
Wrap
Text File
|
1987-04-21
|
15KB
|
323 lines
*---------------------------------------------
*
* Written 8-Sep-87 by David Parsons (orc@pell 612-377-9239)
*
*---------------------------------------------
*
* CTDLCNFG.SYS -- STadel 3.1a configuration file.
*
*
* This file is a valid CTDLCNFG.SYS -- the only lines that CONFIGUR.TOS
* looks at are the lines that begin with #.
*
* Some commentary on fields: The field names within quotes are string
* fields -- you must put them in quotes. Some of these string fields allow
* C-type \ escapes in them (\r is C/R, \n is newline, \octal number is ascii
* character <octal number> -- and you need to put in \\ if you want a single
* \ in your string.):
*
* #nodeTitle
* #baseRoom
* #callOutPrefix
* #callOutSuffix
* #modemSetup
* #reply300
* #reply1200
* #reply2400
* #reply9600
*
* To bring up your system, edit a copy of this file, run CONFIGUR.TOS, then
* run CITADEL.TOS
*
* NOTE: All numbers in this file should be decimal.
*
*---------------------------------------------
#nodeTitle "Panther BBS"
*
* #nodeTitle is the name STadel gives when somebody does a .r(ead) s(tatus)
* or when they connect to the system and you don't have a BANNER.BLB in your
* help directory. (You must define this field.)
*---------------------------------------------
#nodeName "HfH" * 19 characters max.
#nodeId "US (555) 555-5555" * 19 characters max.
*
* #nodeName is the name STadel uses during networking. Messages going from this
* system to other systems will be tagged as coming from 'nodeName'.
* #nodeId is the phone number of your system. Users will never see this field.
* The node id should be in the form `XX (NNN) NNN-NNNN'
* ^ ^ ^
* country code (in COUNTRY.DOC)-+ | |
* area code (for a USA number) ------+ |
* local number ---------------------------+
*
* both of these fields must be defined if your system networks.
*---------------------------------------------
#baseRoom "Lobby" * 19 characters max.
*
* #baseRoom is the name of your Lobby> room. It's merely a convenience if you
* don't like the name Rotunda> (or whatever name this version of STadel uses
* for the lobby room.)
*---------------------------------------------
#sysPassword "filename.ext"
*
* #sysPassword is for sysops who want remote access to sysop functions.
* #sysPassword is the name of a FILE where the system password can be found.
* The system password must be the first line of the file. For example, if you
* define a #sysPassword of "a:\pass.wrd" and the first line of a:\pass.wrd
* is Def.Ghi.Password, `Def.Ghi.Password' will be your system password.
* (The system password must be at least 15 characters, too.)
*---------------------------------------------
#sysop "Yourname"
*
* #sysop is a convenience for the sysop of the board. If you set this field,
* all mail to 'Sysop' will be sent to this person. (on Pell, I've got it set
* as '#sysop "orc"' -- all mail to Sysop goes to me...)
* If that person doesn't exist, Sysop mail will be put in the aide room just
* like normal.
*---------------------------------------------
#define LOGSIZE 100 * entries in the userlog
#define CRYPTSEED 000 * black magic variable
#define MESSAGEK 128
*
* LOGSIZE, CRYPTSEED, and MESSAGEK are all needed by STadel. LOGSIZE is the
* number of userlog entries you want on your system, MESSAGEK is the number
* of Kbytes you want to have on the system (CONFIGUR rounds up to the next
* multiple of 4), and CRYPTSEED is the system file encryption key.
*
* These fields CANNOT be changed after you have generated your system. If you
* want to expand your userlog or your messagebase, there are utilities written
* to do that -- run then and follow the directions they give.
*---------------------------------------------
#msgDir "a:\msg" * where the messagebase is
#sysDir "a:\sys" * where system files go
#helpDir "a:\help" * helpfiles are found here
#auditDir "a:\audit" * all auditing stuff goes here
*
* These fields are the names of directories that you MUST have defined to
* generate a working STadel. #msgDir is where CTDLMSG.SYS goes (the
* messagebase), #sysDir is where all the other system files (CTDLFLOOR.SYS,
* CTDLROOM.SYS, CTDLLOG.SYS) go, #helpdir is where the system help files
* can be found, and #auditDir is where various statistical files go.
*---------------------------------------------
#netDir "a:\net" * where netfiles go
*
* if your STadel networks, this is where network files go. You must have this
* directory defined if you network or use the UUCP gateway.
*---------------------------------------------
#define MIRRORMSG 0 * don't use mirrormsg
#mirrorDir "a:\"
*
* MIRRORMSG is for sysops who wish to put their messagebase onto a RAMDISK.
* If MIRRORMSG is nonzero, STadel will write messages to CTDLMSG.SYS in
* #msgDir AND in #mirrorDir, but only read from #msgDir
*
* If you're using MIRRORMSG, you must define #mirrorDir.
*---------------------------------------------
#define CALL-LOG 1 * keep a call-log
#define AUDIT-FILES 0 * but don't keep track of downloads
#define AUDIT-CALLS 1
#define AUDIT-EXIT 1
*
* If CALL-LOG is nonzero, STadel will keep a log of all the calls made to
* the system in the file CALLLOG.SYS in the #auditDir.
*
* The three AUDIT- fields are for sysops who want to keep track of different
* things:
* o AUDIT-FILES keeps a record of all downloads (.rf) made by users.
* o AUDIT-CALLS keeps a record of all logins on the system.
* o AUDIT-EXIT keeps a record of all the times the system goes up or down.
*
* If you define CALL-LOG, it is the same as defining AUDIT-CALLS and
* AUDIT-EXIT.
*
*---------------------------------------------
#define RECEIPTK 80 * allow 80K inbound stuff
#receiptDir "a:\receipt" * in this directory
*
* One of the features in STadel is network sendfile -- systems can send
* files during networking. So, if you're running the network, you need these
* two defines. RECEIPTK is the number of Kbytes you can have in your
* #receiptDir (if you have more than RECEIPTK Kbytes, your system will
* not accept files sent from another system during networking)
* #receiptDir is where these files are put.
*---------------------------------------------
#shell "\pcommand.prg" * shell name
*
* #shell is the full pathname of the shell to execute when you do an [O]utside
* command from the sysop menu. If this field is not defined, you can't use
* [O]utside commands.
*---------------------------------------------
#define LOGINOK 1 * anybody can log in
#define READOK 0 * unlogged people can't read msgs
#define ENTEROK 0 * unlogged people can't enter msgs
#define ROOMOK 1 * everybody can create rooms
#define ALLMAIL 1 * everybody can send email
#define ALLNET 0 * don't give new users net privileges
#define PARANOID 0 * I'm not paranoid -- are you?
*
* These fields are pretty self-explainatory. They are all switches -- nonzero
* means they are TRUE and zero means they are FALSE.
*
* PARANOID governs the login behavior of STadel. If PARANOID is nonzero, STadel
* will not allow callers onto the system until they enter both their name and
* their password.
*---------------------------------------------
#define NETWORK 1 * enable networking
*
* NETWORK tells STadel whether to do networking or not. If it's zero, STadel
* will not allow any networking commands and will not try to do networking
* sessions.
*---------------------------------------------
#define USA 1 * north american system.
#define LOCAL-TIME 30 * wait 30 seconds for local calls to
* time out.
#define LD-TIME 60 * ... 60 seconds for l-d calls.
*
* USA tells STadel whether this system is in North America or not. If USA
* is nonzero, STadel will prefix long-distance calls with `1' and remove
* the first 3 digits in the network ID for making local calls.
*
* LOCAL-TIME is how long it takes STadel to time out when making a local call.
* If defaults to 20 seconds.
*
* LD-TIME is how long it takes STadel to time out when making a long-distance
* call. It defaults to 50 seconds.
*
* (Apologies to Canadian [and Mexican?] STadel operators for using USA as a
* synonym for North American.... `USA' is shorter, so laziness takes
* precedence over accuracy.)
*---------------------------------------------
#callOutPrefix "ATDT"
#callOutSuffix "\r"
*
* #callOutPrefix and #callOutSuffix are for networking call-out. When calling
* another system, STadel will send the modem the callOutPrefix, the number to
* call, and the callOutSuffix. For example, if you're using the prefix and
* suffix in this example file, your system will send the string ATDT<number>\r
* to the modem when it tries to call a system at <number>.
* If your system networks, you must define these.
*---------------------------------------------
#define SEARCHBAUD 1 * do autobaud searching
#define CONNECTPROMPT 0 * don't ask the user to hit C/R
#define CONNECTDELAY 0 * modem doesn't need to stabilize
#define SYSBAUD 1 * a 300/1200 baud system
*
* SEARCHBAUD tells the system whether to do baud rate searching. If the
* system does baud-rate searching, it will loop through the baudrates --
* waiting half a second at each baud rate for a C/R -- until a C/R is detected
* or 60 seconds are up. If SEARCHBAUD is zero, STadel will assume that the
* modem only works at SYSBAUD baud rate (see below for a description of the
* permissible baud-rate codes.)
*
* CONNECTPROMPT changes the behavior of SEACHBAUD. If CONNECTPROMPT is
* nonzero, STadel will prompt the user to hit C/R, then wait 10 seconds for
* one, for each baudrate.
*
* CONNECTDELAY is the number of seconds that the computer needs to wait for
* the modem to stabilize before it starts baud-rate searching. (Some modems
* will drop carrier if you send a character out the modem too soon after
* somebody calls in)
*
* SYSBAUD is the range of baud-rates that the system will support. (If
* SEARCHBAUD is zero, it's the only* baud rate the system will support.)
* This field MUST be defined.
* SYSBAUD ranges from 0 to 3 -- 0 is 300 baud, 1 is 1200/300, 2 is
* 2400/1200/300, and 3 is 9600/2400/1200/300.
*---------------------------------------------
#modemSetup "AT V0 X1 E0 F1 M0 Q0 S2=255 S7=60\r"
*
* #modemSetup is the string that STadel sends to the modem when it initialises
* if. This field must be defined.
*
*---------------------------------------------
#reply300 "1"
#reply1200 "5"
#reply2400 "2400 baud reply"
#reply9600 "9600 baud reply"
*
* If your modem is capable of returning reply strings to tell you what
* baud-rate an incoming call is at, you can bypass the normal STadel
* baud-rate searching code by defining these fields and setting your
* modem up so that it returns the codes (this will involve changing
* your #modemSetup so that it doesn't disable that feature.)
*
* For the baud-rate detection magic to work, the reply strings that
* the modem returns must be terminated by a \r. However, when you
* set up the #reply strings, don't* include the \r in the string --
* if the modem sends a "1\r" back for a 300 baud connect, your
* #reply300 should be "1", NOT* "1\r"
*
* #reply300 -- the reply the modem gives when a 300 baud caller is detected.
* #reply1200 -- the reply the modem gives when a 1200 baud caller is detected.
* #reply2400 -- the reply the modem gives when a 2400 baud caller is detected.
* #reply9600 -- the reply the modem gives when a 9600 baud caller is detected.
*
* This feature has only been tested on Hayes compatable modems. If you're
* working with other types of modems and you get them to work properly, let
* me (orc@pell 612-377-9239) know about it, please.
*---------------------------------------------
#event PREEMPTIVE 3:00 0 uucp 10 * try UUCP at night
#event NETWORK 3:01 39 network 0 * normal networking
#event TIMEOUT 15:00 0 uucp 10 * try UUCP during the afternoon.
*
* Events are how STadel interrupts itself to do various things. There are
* three types of event -- PREEMPTIVE, NETWORK, and TIMEOUT. A NETWORK event
* has STadel take over the system and run the networker at the time specified,
* a PREEMPTIVE event has STadel take over the system and exit to the outside
* world at the time specified, and a TIMEOUT event has STadel exit to the
* outside world as soon as it at the time specified (if somebody is using
* the system when this event goes off, a timeout won't kick them off.)
*
* The six fields in a #event line are as follows:
*
* #event <whatever> <time> <duration> <name> <flags>
*
* <whatever> is PREEMPTIVE, NETWORK, or TIMEOUT.
* <time> is when the event is scheduled to go off (in 24-hour time... 3:00pm is
* 15:00)
* <duration> is how long the event is supposed to last -- if STadel is brought
* up after the start of an event but before the event is supposed to be over,
* it will immediately do the event.
* name is the ascii name of the event (under 20 alphanumeric characters.)
* <flags> depends on the type of event. If it is a NETWORK event, <flags> is
* which network is gonna be run (this is fairly advanced stuff -- just use
* 0 for casual sysopping), otherwise it is the condition code that STadel
* returns to the calling program. (don't* use 0,1,2, or 3 -- these are already
* defined within STadel.)
*
* In the twin cities, STadels (and Amiga Citadels and MS-DOS citadels) network
* at 3:00am for 45 minutes.
*---------------------------------------------
#define TIMEOUT 0
#define HOUROUT 0
*
* Timeout and hourout are another type of event STadel has -- if you've got
* TIMEOUT set (nonzero), STadel will have a TIMEOUT event HOUROUT hours
* after the system is brought up. (returning a condition code of 1 to the
* calling program.) This is handy for doing backups.
*---------------------------------------------
* EOF *